export default [
  {
    path: '/chat',
    name: 'ChatLayout',
    component: () => import('../../views/chat/ChatLayout.js'),
    children: [
      {
        path: '',
        name: 'ChatList',
        component: () => import('../../views/chat/ChatList.js')
      },
      {
        path: 'friend/:sessionId',
        name: 'FriendChat',
        component: () => import('../../views/chat/FriendChat.js')
      },
      {
        path: 'avatar/:sessionId',
        name: 'AvatarChat',
        component: () => import('../../views/chat/AvatarChat.js')
      }
    ]
  }
]; 